import React from 'react'
import ReactDOM from 'react-dom'
import {BrowserRouter as Router, Route, Link} from 'react-router-dom'
import './index.scss';
import example1 from './scroll/example/scroll.example1';

ReactDOM.render(<>
  <Router>
    <Link to={'/example1'}>one</Link>
    <Link to={'/two'}>two</Link>

    <Route path='/example1' component={example1}/>
    <Route path='/two' component={() => <div>two</div>}/>
  </Router>
</>, document.querySelector('#root'));
